package com.atmc.mapper;

import com.atmc.entity.Authority;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface AuthorityMapper {
    List<Authority> selectAuthority(@Param("userId") Long userId);
    int insertOne(Authority authority);
    Authority selectOne(@Param("authorId") Long authorId);
}
